<%@page contentType="text/html" pageEncoding="windows-1252"%>
<%@page import="startup.model.user.Student"%>
<%
	try
	{
		Student student = ( Student )session.getAttribute( "currentSessionUser" );
		student.getHistoryFromDatabase();
		student.completeAttributesFromWorkingDB();
%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="windows-1252">
		<title>Student F.A.Q.</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<!-- Le styles -->
		<link href="styles/bootstrap.css" rel="stylesheet">
		<style type="text/css">
			body {
				padding-top: 60px;
				padding-bottom: 40px;
			}
			.sidebar-nav {
				padding: 9px 0;
			}
		</style>
	</head>
	<body>
        <!--Barra Superiore-->
        <div class="navbar navbar-fixed-top">
			<div class="navbar-inner">
				<div class="container-fluid">
					<a class="brand" href="#">Student F.A.Q.</a>
					<div class="nav pull-right">
						<ul class="nav">
							<li>
								<form action="Logout" method="post">
									<button class="btn btn-primary btn-small">Sign out</button>
								</form>
							</li>
						</ul>
					</div>
				</div>
			</div>
        </div>
        <!--CONTENUTO LISTE -->
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span3" style="position:fixed;">
                    <div class="well sidebar-nav">
                        <ul class="nav nav-list">
                            <li><a href="javascript:history.back()"><i class="icon-arrow-left"></i> Back</a></li>
                            <li class="nav-header">Location</li>
                            <li><a href="studentChooseHistoryToShow.jsp"><i class="icon-home"></i> Home</a></li>
                            <li><a href="studentActualHistory.jsp"> &nbsp; &bull; <i class="icon-th-large"></i> ACTIVE History</a></li>
                            <li><a href="studentTerminatedHistory.jsp"> &nbsp; &bull; <i class="icon-th-large"></i> TERMINATED History</a></li>
                            <li><a href="studentDeletedHistory.jsp"> &nbsp; &bull; <i class="icon-th-large"></i> DELETED History</a></li>
                            <li class="nav-header">Function</li>
                            <li><a href="studentNewMissionRequestSubmission.jsp"><i class="icon-pencil"></i> New Mission Request</a></li>
                            <li><a href="studentShowNewAdvanceCompensation.jsp"><i class="icon-pencil"></i> New Advance Compensation</a></li>
                            <li><a href="studentShowNewReimbursement.jsp"><i class="icon-pencil"></i> New Reimbursement</a></li>
                            <li class="divider"></li>
                            <li class="active"><a href="#"><i class="icon-white icon-info-sign"></i> F.A.Q.</a></li>
                        </ul>
                    </div><!--/.well -->
                </div><!--/span-->
                <div class="span9" style="margin-left: 26%;">
                    <div class="row-fluid">
                        <div class="accordion" id="accordion2">
                            <div class="accordion-group">
                                <div class="accordion-heading">
									<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
										Basically Information
									</a>
                                </div>
                                <div id="collapseOne" class="accordion-body collapse in">
                                    <div class="accordion-inner">
                                        <br />
                                        <div class="alert alert-info">                                     
                                            <p>In the NAV-bar here <strong>on the left</strong>, you will be able to <strong>select the role</strong> for being able to visualize the missions to approve of for every role from indicated you.</p>
                                            <p>The part of Location of the NAV-bar on the left extension where it finds to you in the site. The leases in blue are the running pages. it can be only returned behind in the chronology, never ahead (only with the push-buttons of the browser)</p>                                        
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="accordion-group">
                                <div class="accordion-heading">
									<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
										Histories
									</a>
                                </div>
                                <div id="collapseTwo" class="accordion-body collapse">
                                    <div class="accordion-inner">
                                        <br />
                                        <div class="alert alert-block alert-info">
                                            <p>If you want to see your current missions go on the NAV-bar and choose Active History.<br />
												Here you find all your missions that have "Planned end Date" after current date.<br />
												Moreover here you can modify a mission that has "Planned start Date" before 24h from the current date.
                                            <hr>
                                            <p>If you want to see your concluded missions go on the NAV-bar and choose Terminated History.<br />
												Here you find all your missions that have "Planned end date" before current date.</p>
                                            <hr>
                                            <p>For see all your missions that you have aborted go on the NAV-bar and choose Deleted History.</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="accordion-group">
                                <div class="accordion-heading">
									<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseFour">
										New Module
									</a>
                                </div>
                                <div id="collapseFour" class="accordion-body collapse">
                                    <div class="accordion-inner">
                                        <br />
                                        <div class="alert alert-block alert-info">
                                            <h4>Mission Request:</h4>
                                            <h6>New:</h6>
                                            <p>If you want to create a new mission go on the NAV-bar and choose New Mission Request.
                                                Compile the form where it's requested and click "Submit".</p>
                                            <br />
                                            <h6>Modify:</h6>
                                            <p>A mission is modifyable if has "Planned start date" before 24h from the current date.</p>
                                            <hr>
                                            <h4>Advance Compensation</h4>
                                            <h6>New:</h6>
                                            <p>If you want to request an advance compensation go on the NAV-bar and choose New Advance Compensation.
												After that choose the mission for which you would an adcance compensation.
												Compile the form where it's requested and click "Submit".
												An advance compensation could be requested only on an active mission that has not already one!</p>
                                            <br />
                                            <h6>Modify:</h6>
                                            <p>You can modify an advance compensation only if the owner mission is modifyable by the Thumblines.</p>
                                            <hr>
                                            <h4>Reinbursement</h4>
                                            <h6>New:</h6>
                                            <p>If you want to request a reimburship go on the NAV-bar and choose New Reimbursement.
												After that choose the mission for which you would a reimbursement.
												Compile the form where it's requested and click "Submit".
												A reimbursement could be requested only on a concluded mission that has not already one!</p>
                                            <br />
                                            <h6>Modify:</h6>
                                            <p>A reimbursement could not be modified!</p>
                                        </div>
                                    </div>
                                </div>
                            </div>                            
                        </div>
                    </div>
                </div>
            </div>
        </div><!--/.fluid-container-->
        <div class="navbarCC navbar-fixed-bottom">
            <div class="navbarCC-inner">
                <div class="container-fluid">				
                    <a class="brand" href="#">&copy; 2012 Startup</a>					
                </div>
            </div>
        </div>
		<!-- Il javascript -->
		<script src="js/jquery.js"></script>
		<script src="js/bootstrap.js"></script>
	</body>
</html>
<%
	}
	catch( RuntimeException runtimeException )
	{
		if( runtimeException.getClass().equals( NullPointerException.class ) )
		{
			runtimeException = new NullPointerException( "The session has timed out:<br />" + "" +
														 "try reloading page.<br />" +
														 "If the problem persists, please report it to the administration." );
		}
		request.setAttribute( "exception", runtimeException );
		request.getRequestDispatcher( "errorPage.jsp" ).forward( request, response );
	}
%>